module.exports = {
    extends: ['standard'],
    parser: 'babel-eslint',
    parserOptions: {
        ecmaVersion: 2020,
        sourceType: 'module',
        ecmaFeatures: {
            globalReturn: false,
            impliedStrict: true,
        },
    },
    rules: {
        indent: ['warn', 4],
        semi: ['warn', 'always'],
        'handle-callback-err': 'off',
        'no-undef': 'off',
        'no-cond-assign': 'off',
        'comma-dangle': 'off',
        'no-debugger': 'off',
        'no-eval': 'off',
        'no-extra-boolean-cast': 'off',
        'no-implied-eval': 'off',
        'no-label-var': 'off',
        'no-labels': 'off',
        'no-multi-str': 'off',
        'no-new-func': 'off',
        'no-return-assign': 'off',
        'no-this-before-super': 'off',
        'no-unsafe-finally': 'off',
        'no-mixed-operators': 'off',
        'accessor-pairs': ['off', {
            setWithoutGet: true,
            enforceForClassMembers: false,
            getWithoutSet: false
        }],
        'no-useless-escape': 'off',
        'standard/no-callback-literal': 'off',
        'prefer-promise-reject-errors': ['error', {allowEmptyReject: true}]
    }
};
